Object-oriented query language design and processing
نویسنده
چکیده
ii Abstract This thesis proposes an object-oriented query language that is more powerful than many existing query languages. The language is formally speciied and its expressive power is demonstrated by giving four translation schemes from other prominent object-oriented query languages. Further, this query language can be supported by a query algebra and both the query language and query algebra can be optimised using meaning preserving transformation rules. Object-Oriented Query Languages. The functional requirements of high-level object-oriented query languages are identiied and they combine as well as supplement features found in existing object-oriented query languages. EEectively they formulate a query model against which existing query languages can be evaluated and compared. An evaluation of four representative query languages chosen from research prototypes and commercial products shows that none satisses all the requirements. On the basis of the requirements a new query language, object comprehensions, is developed to provide a concise, clear, powerful, and optimisable query language for object-oriented databases. Some op-timisation opportunities for the novel features are identiied. A set of translation schemes from the query languages studied to object comprehensions is presented. Such translations demonstrate that object comprehensions are at least as powerful as these query languages and a system supporting object comprehensions can potentially support multiple query languages by providing translations to object comprehensions. Algebraic Support. The canonical algebra provides an abstract execution engine with which object comprehension queries can be expressed using algebraic operations. The translation scheme from object comprehensions to the canonical algebra is very simple and is novel for supporting queries involving mixed collection classes. The canonical algebra shares many operations with other query algebras and is formally speciied. A set of transformation rules that can be used for optimisation is presented whose validity can be veriied given the formal speciication. Formal Data Model. The data model which forms the basis of investigation is formally deened using the speciication language Z. This reference data model captures all the essential features of existing object-oriented data models including multiple inheritance. However, unlike existing data models, it also supports a generalised form of method overloading. Static type checking of such overloaded methods is studied in this thesis. iii Authorship The material presented in the thesis is the product of the author's own independent research carried out at the However the author is responsible for the majority of the technical substance of these papers and of this thesis. iv Acknowledgements …
منابع مشابه
Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملA Query Language for a Versioned Object Oriented Database
Many applications require that all data updates be stored on and retrieved from a database. Such requirement is supported on object oriented databases through versioning. While most related work focuses on different aspects of versions concepts, design modeling and efficient processing of versions, there is yet to be a precise definition of a query language for database systems with versions co...
متن کاملUsing Active Objects for Query Processing
Most object-oriented databases can only be accessed by a programming language rather than a query language, although an ad hoc query facility is a desirable feature of such systems. In this paper, we present a way to process queries to extract data from a collection of interacting objects. We adopt the object-oriented paradigm to describe the operational semantics of queries given as expression...
متن کاملModelsaz: An Object-Oriented Computer-Aided Modeling Environment
Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...
متن کاملObject-Oriented Method for Automatic Extraction of Road from High Resolution Satellite Images
As the information carried in a high spatial resolution image is not represented by single pixels but by meaningful image objects, which include the association of multiple pixels and their mutual relations, the object based method has become one of the most commonly used strategies for the processing of high resolution imagery. This processing comprises two fundamental and critical steps towar...
متن کاملODMQL: Object Data Mining Query Language
Data mining is the discovery of knowledge and useful information from the large amounts of data stored in databases. The emerging data mining tools and systems lead to the demand of a powerful data mining query language. The concepts of such a language for relational databases are discussed in [11]. With the increasing popularity of object-oriented databases, it is important to design a data mi...
متن کامل